package edu.scau.divineplace.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import edu.scau.divineplace.entity.vo.FavoriteContentVO;
import edu.scau.divineplace.entity.vo.JournalVO;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author x1aolone
 * @since 2020-12-06
 */
@Mapper
public interface JournalServiceMapper {
    /**
     * 通过用户id获取日志列表
     * @param page
     * @param userId
     * @return
     */
    IPage<JournalVO> selectJournalByUserId(Page<?> page, Long userId, Integer likeTargetType);

}
